package com.vulab.training.java;

public class Sigleton {
	public static CustomerService service;
	
	
	public static CustomerService getSingleton(){
		if (service == null)
		{
			System.out.println("if block");
			return new CustomerService();
			
		}
		else 
		{
			
			System.out.println("else block");
			return service;
		}
	}

}
